<include file="Public:header" />
<style>
    .createuser
    {
        margin: 0;
    }
    .createuser li
    {
        list-style-type: none;
    }
    .createuser a:HOVER
    {
        text-decoration: underline;
    }
</style>
<div class="container">
    <div class="main">
        <div class="left usercreate02">
            <a class="contactbtn03" href="/Users/basicUserInfo?uid={$uid}">{$Think.lang.basic_user_info}</a>
            <br />
            <br />
            <a class="contactbtn03" href="/Users/genealogy?uid={$uid}">{$Think.lang.genealogy}</a>
            <br />
            <br />
            <a class="contactbtn03" href="/Users/catchword?uid={$uid}">{$Think.lang.catchword}</a>
            <br />
            <br />
            <a class="contactbtn03" href="/Users/userPicture?uid={$uid}">{$Think.lang.picture}</a>
            <br />
            <br />
            <a class="contactbtn03" href="/Users/alllife?uid={$uid}">{$Think.lang.alllife}</a>
            <br />
            <br />
            <a class="contactbtn03" href="/Users/remark?uid={$uid}">{$Think.lang.remark}</a>
            <br />
            <br />
            <div style="margin-left: -1px; height: 60px">
				<input type="button" value="{$Think.lang.preview}" onclick="preview();" class="contactbuttom" />
				<if condition="$userGroup eq 'agency' ">
					<input type="button" class="contactbuttom" value="{$Think.lang.goback}" onclick="goback();" />  <br />
            	<else />
            		<input type="hidden" class="contactbuttom" value="{$Think.lang.goback}" onclick="goback();" />  <br />
            	</if>
            </div>
            
            <if condition="$hasConfirmed eq 0" >
            	<if condition="$userGroup neq 'visiter'">
	            	<div  >
	                	<a class="contactbtn03" href="/Users/tempStorage?uid={$uid}">{$Think.lang.just_save}</a><br /><br />
	                	<a class="contactbtn03" href="/Users/confirmSave?uid={$uid}">{$Think.lang.confirm_save}</a><br /><br />
	            	</div>
	            </if>
	        <else />
	            <div  >
	                <a class="contactbtn03" href="/Users/confirmSave?uid={$uid}">{$Think.lang.confirm_save}</a><br /><br />
	            </div>
           	</if>
        </div>
        <div class="right desimg">
            <a href="#">
                <img src="__APP__/Public/images/test03.jpg" /></a>
        </div>
        <div class="clear">
        </div>
    </div>
</div>
<script>
    function preview() {
        location.href = "/Users/preview?uid={$uid}";
    }
    function goback() {
        var group = '{$userGroup}';
        if (group == 'common') {
            location.href = "/Users/index";
        } else {
            location.href = '/Agency/index';
        }

    }
</script>
<include file="Public:footer" />
